package com.situ.crm.service.impl;

import com.situ.crm.mapper.ProductMapper;
import com.situ.crm.pojo.entity.Product;
import com.situ.crm.service.IProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements IProductService {
	@Autowired
	private ProductMapper productMapper;
	
	@Override
	public List<Product> selectAll() {
		return productMapper.selectByPage(new Product());
	}
}
